home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AGA Toolkit '97
/
The AGA Toolkit '97.iso
/
commodities
/
docs
/
appmenu.doc
next >
Wrap
Text File
|
1996-09-07
|
5KB
|
163 lines
AppMenu
Marius Chwalczyk
$VER: AppMenu 1.2 (29.04.93)
Copyright © 1993 by Marius Chwalczyk. All Rights Reserved.
AppMenu is FREEWARE but copyrighted © 1993 by Marius Chwalczyk. It's freely
distributable as long as all of its files are included in their original form
without modifications of any kind. Only a moderate copying charge is allowed
for its distribution. This program is "as-is", all use is at your own risk.
AppMenu is a utility for Workbench. It runs only under Release 2 (V37) and
later versions of the Amiga operating system. It's a commodity that adds menu
items to the Workbench Tools menu. When a menu item is activated, AppMenu
starts up a program you chosed. You can free define the items and programs to
execute. All programs are started as separate, asynchronous processes. You can
also choose arguments for these programs through icons or file requester.
Installing and running.
-----------------------
To install AppMenu simple copy it where you want it to have. You can start
it from Workbench or from Shell. Or just place it in the WBStartup drawer.
The following arguments in the line command or the tool types in the icon are
all optional.
CX_PRIORITY=n
CX_POPUP=NO|YES
CX_POPKEY=hotkey
See Workbench handbook for this commodity tool types. Defaults are pririty 0,
popup 'YES' and popkey 'shift f3'.
FROM=prefs
'prefs' is the preferences file (default "ENVARC:AppMenu/AppMenu.prefs"), where
AppMenu saves the items. Each item contain a menu item text, a command text and
a arguments specification.
PROGITEM=NO|YES
* NEW 1.2 *: If you don't want 'AppMenu...' item in Tools menu choose NO.
Default is YES.
The interface.
--------------
AppMenu's window presents a list gadget with its scroller and a string field
below, a separate string field, a cycle gadget, two buttons and a bank of four
buttons. To call the window press the hothey, activate 'AppMenu...' item in
Tools menu, run AppMenu again or use the Exchange program. Exchange can be use
for some other things too (see its docs).
The functions of the gadgets are:
Menu Items
This listview gadgets show the item list. To change a item just select it.
Now you can update the command text. Press Return or Tab key or change 'Arg'
gadget to activate the string field below the listview gadget. Here you can
modify the item text and press Return to take the item back to the list.
Command
Type the program name and its arguments you want to execute. Note that you
must specify the full path of the command when you start AppMenu from
Workbench.
Arg
Select if and from where you want arguments to a command. The possibilities
are:
Requester If you activate the item a file requester appears and you can
choose a file name as an argument to the command. You can cancel
the execution too.
Icons The names of selected icons in Workbench (if any) will be
arguments.
Icons/Req Same as above. If no icon selected as 'Requester'.
None Execute command without extra arguments.
New
Add a new item to the list. Just type a command text, choose 'Arg' and write
a menu item text. To quick add a program put its icon in the AppMenu window.
Its name will be the item text and its path with the name the command. The
number of items you can add is limited only by available memory, the system
(V37) however creates only 63 selectable menu items.
* NEW 1.2 *: To add a new item befor an existing item in the list simple
select this item first.
Del
To remove a item from the list select it and press the 'Del' gadget.
Save
Save the item list to the preferences file. Further as 'Use'.
Use
Close window, use current list to create item in Tools menu and execute
commands of the chosen items.
Cancel
Undo all changes in the list since the window is open, close it and use the
old list. Note that window's Close gadget and Exchange's Hide command have
the equal function.
Quit
Quit AppMenu. Ctrl-C makes it too. If the changed items are not saved first
appears a requester.
The last four buttons have menu equivalences with short-cuts.
The Program and its Author.
---------------------------
Localization will be done when I have WB2.1 update. Where is it for
Germany? :-(
AppMenu is written in C and compiled with SAS/C 6.2. It's tested on an
Amiga 3000 (KS 37.175, WB 37.71) with Enforcer and Mungwall.
If you have some comments, additional ideas and/or bug reports, feel free
to send me a letter or to call me.
You can reach me via
Mail: Marius Chwalczyk
Zigelstr. 59/165
D-6750 Kaiserslautern (Germany)
Phone: (Germany)0631-10944
*** WARNING! E-Mail will be no more current soon! ***
E-Mail: m_chwalc@informatik.uni-kl.de
History.
--------
1.0 first internal release.
1.1 (25.03.93) - first public release.
Saving preferences in separate file instead of in tool types.
Added prefs-not-saved-requester.
Added 'Icons' as arguments.
1.2 (29.04.93)
No bugs found or reported - no bugs fixed! :-)
Added possibility to arrange the order of the commands.
(Thanks to Kevin A. Kirk for this suggestion.)
Added PROGITEM argument.
File requester remember previous selections.
-